<?php
/**
 * Admin Pages
 * Eventually this will need to get pieced together from several sources.
 * There will likely be a standard set of main navigation such as products, orders, etc.
 * Extensions will have the ability to add pages below these main sections. 
 * Just as access control is in a file right now, so is this. It's just temporary.
 * @todo Put this in the database.
 * @todo Figure out exactly how extensions will add to this
 * @todo Figure out which sections will be available
 */
return array(

	array(
		'label' => 'Dashboard',
		'id' => 'section-dashboard',
		'order' => 1,
		'class' => 'main',
		'route' => 'admin_dashboard',
	),
	array(
		'label' => 'Order Management',
		'id' => 'section-orders',
		'order' => 2,
		'class' => 'main',
		//'route' => 'admin_orders',
		'uri' => '#',
	),
	array(
		'label' => 'Products',
		'id' => 'section-products',
		'order' => 3,
		'class' => 'main',
		'uri' => '#',
		//'route' => 'admin_products',
		'pages' => array(
			array(
				'label' => 'Category Admin',
				'id' => 'category-admin',
				'order' => 1,
				'class' => 'sub',
				'route' => 'admin_category_list',
			),
			array(
				'label' => 'Product Admin',
				'id' => 'category-admin',
				'order' => 1,
				'class' => 'sub',
				'route' => 'admin_product_list',
			),
		)
	),
	array(
		'label' => 'Customers',
		'id' => 'section-customers',
		'order' => 4,
		'class' => 'main',
		'uri' => '#',
		//'route' => 'admin_customers',
		'pages' => array(
			array(
				'label' => 'Customer List',
				'id' => 'customer-list',
				'order' => 1,
				'class' => 'sub',
				'route' => 'admin_customer_list'
			),
		)
	),
	array(
		'label' => 'Settings',
		'id' => 'section-settings',
		'order' => 5,
		'class' => 'main',
		'uri' => '#',
		//'route' => 'admin_settings',
	),

);